import Vue from 'vue'
import App from './App'
import store from './store' // store
import plugins from './plugins' // plugins
import './permission' // permission
import { getDicts } from "@/api/system/dict/data"

Vue.use(plugins)

Vue.config.productionTip = false
Vue.prototype.$store = store
Vue.prototype.getDicts = getDicts

App.mpType = 'app'
Vue.prototype.$imagePrefix = "http://134.175.182.248/prod-api"; //配置项目的全局图片前缀(线上)
// Vue.prototype.$imagePrefix = "http://localhost/dev-api"; //配置项目的全局图片前缀（本地）

const app = new Vue({
  ...App
})

app.$mount()
